package com.jishuo.nontax.bfc.dao;

import com.jishuo.nontax.bean.vo.BankBalanceVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @auther dinggaofei
 * @Date 2022/12/20 14:29
 */
@Mapper
public interface BankBalanceMapper {

    /** 更新 */
    int updateBankBalance(BankBalanceVO bankBalance);

    /** 新增 */
    int insertBankBalance(BankBalanceVO bankBalance);

    List<BankBalanceVO> findBankBalancePage(BankBalanceVO bankBalanceVO);

    /** 查询余额，账户id、日期 */
    List<BankBalanceVO> findBankBalance(@Param("bankid")long bankid,@Param("accountdate")String accountdate);

    /** 删除余额 */
    int deleteBankBalanceDate(@Param("bankid") int bankid, @Param("accountdate") String accountdate);

}
